<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>行测课程列表</title>
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/public.css">
    <link rel="stylesheet" href="./js/z-pager/z-pager.css">
    <script src="js/jquery.js"></script>
    <script src="js/template/template-web.js"></script>
    <script src="js/z-pager/z-pager.js"></script>
    <script src="js/header.js"></script>
    <script src="js/commit.js"></script>
</head>
<body>
<div class="free_box">
    <div class="serach_box">
        <div class="list_serach clearfix">
            <span class="lf_span_l">分类</span>
            <ul class="rh_url_l rh_url_l_cur clearfix" id="classify">
                <script type="text/html" id="classifyTpl">
                {{each res as item}}
                    <li data_id = "{{item.id}}">{{item.name}}</li>
                {{/each}}
                </script>
            </ul>
        </div>
        <div class="list_serach clearfix">
            <span class="lf_span_l">类别</span>
            <ul class="rh_url_l clearfix" id="classify">
                <li data_id="1">答题</li><li data_id="2">视频</li>
            </ul>
        </div>
    </div>
    <div class="index_course_div_2 clearfix">
        <span> 行测课程列表 </span>
    </div>
    <div class="free_j_box">
        <div class="free_j_ul" id="listdt">
            <script type="text/html" id="listdtTpl">
                {{if res.data.length != 0}}
                {{each res.data as item }}
                <div class="index_course_div_4" data-id="{{item.id}}">
                    <div class="free_j_img clearfix">
                        <div class="j_img_box" style="padding-right:0">
                            <a href="./info.html?id={{item.c_id}}&type={{item.type == '教学' ? 1 : 2}}&typeAssort={{item.assort == '答题' ? 1 : 2}}&curId={{item.id}}"><img src="{{item.goods_img}}" class="img-responsive" width="188" height="125"></a>
                        </div>
                        <div class="j_img_txt" style="padding-left:5px;">
                        <span class="index_course_h1">
                            <a href="./info.html?id={{item.c_id}}&type={{item.type == '教学' ? 1 : 2}}&typeAssort={{item.assort == '答题' ? 1 : 2}}&curId={{item.id}}">{{item.name}}</a>
                        </span>
                            <p class="index_course_p_1">{{item.description}}</p>
                        </div>
                    </div>
                    <div class="index_course_p_2 clearfix">
                        {{if item.shop_type == '免费'}}
                        免费
                        {{else}}
                        <!-- <em>2568 人已购买</em> -->
                        <span>¥ {{item.current_price}}</span>
                        <span class="val_span">¥ {{item.original_price}}</span>
                        {{/if}}
                    </div>
                </div>
                {{/each}}
                {{else}}
                <span class="no_more">没有更多数据了！</span>
                {{/if}}
            </script>
        </div>
    </div>
    <div id="pager" class="pager clearfix"></div>
</div>
<!-- footer -->
<div class="index_footer_div_3" id="footer"></div>
<script>$("#footer").load("./footer.html");</script>


<script src="js/z-pager/z-pager.js"></script>
<script src="js/line.js"></script>
</body>
</html>